DataCollection | ComponentOne
C1.DataCollection.EntityFrameworkCore Assembly / C1.DataCollection.EntityFrameworkCore Namespace / C1EntityFrameworkCoreVirtualDataCollection<T> Class / InsertAsyncOverride Method
This parameter is ignored.
The item to be inserted.
The cancellation token.

In This Topic
    InsertAsyncOverride Method (C1EntityFrameworkCoreVirtualDataCollection<T>)
    In This Topic
    Inserts the specified item at the end of the collection. The index is ignored.
    Syntax
    'Declaration
     
    Protected Overrides Function InsertAsyncOverride( _
       ByVal index As Integer, _
       ByVal item As T, _
       ByVal cancellationToken As CancellationToken _
    ) As Task(Of Integer)
    protected override Task<int> InsertAsyncOverride( 
       int index,
       T item,
       CancellationToken cancellationToken
    )

    Parameters

    index
    This parameter is ignored.
    item
    The item to be inserted.
    cancellationToken
    The cancellation token.
    See Also